summaryrefslogtreecommitdiffstats
path: root/gui_run.sh
diff options
context:
space:
mode:
authorCarl <Kraken.rf.inc@gmail.com>2021-12-23 03:10:19 +0100
committerCarl <Kraken.rf.inc@gmail.com>2021-12-23 03:10:19 +0100
commitefaaf39f79d81cd740a9f741e6cf4815c49c3093 (patch)
tree5a4fb7caaddef5f228f6833260ba7e7b44345051 /gui_run.sh
parentInitial commit (diff)
downloadkrakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar.gz
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar.bz2
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar.lz
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar.xz
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.tar.zst
krakensdr_pr-efaaf39f79d81cd740a9f741e6cf4815c49c3093.zip
Diffstat (limited to 'gui_run.sh')
-rwxr-xr-xgui_run.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/gui_run.sh b/gui_run.sh
new file mode 100755
index 0000000..4b1c598
--- /dev/null
+++ b/gui_run.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+IPADDR="0.0.0.0"
+IPPORT="8081"
+
+echo "Starting KrakenSDR Passive Radar"
+
+# Use only for debugging
+#sudo python3 _UI/_web_interface/kraken_web_interface.py 2> ui.log &
+
+#sudo gunicorn -w 1 --threads 12 -b $IPADDR:8050 --chdir _UI/_web_interface kraken_web_interface:server 2> ui.log &
+#sudo gunicorn -w 1 --threads 2 -b $IPADDR:8050 --chdir _UI/_web_interface kraken_web_interface:server 2> ui.log &
+
+python3 _UI/_web_interface/kraken_web_interface.py 2> ui.log &
+
+# Start PHP webserver to interface with Android devices
+#echo "Python Server running at $IPADDR:8050"
+#echo "PHP Server running at $IPADDR:$IPPORT"
+#sudo php -S $IPADDR:$IPPORT -t _android_web 2> /dev/null &